package com.menhai.personmanagement.mapper;

import org.apache.ibatis.annotations.Mapper;
import com.menhai.personmanagement.entity.MbFollowupVisit;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author shikun
 * @since 2021-12-27
 */
@Mapper
public interface MbFollowupVisitMapper extends BaseMapper<MbFollowupVisit>{

    public List<MbFollowupVisit> getWeekPlan(@Param("userId") String userId,@Param("type") String type,@Param("monday") String monday,@Param("sunday") String sunday);

    public List getVisitToDay(@Param("date") String date);

    public List<MbFollowupVisit> getcalendarVisit(@Param("userId") String userId);

    public List<MbFollowupVisit> getcalendarVisitCutDate(@Param("userId") String userId,@Param("date") String date);

    public List<MbFollowupVisit> getVisit(@Param("userid") int userid,@Param("ChronicType") String ChronicType,@Param("list") List list);

    public List gecunrenshu(@Param("ChronicType") String ChronicType, @Param("userid") String userid);
}
